import { get, post, del } from "../util/request";

//收货地址列表
export const addressList = (data) => get("/api/v1/addresses", data);

//获得单条收货地址
export const addressOne = (id) => get("/api/v1/addresses" + id);

//收货地址新增
export const addPosition = (data) => post("/api/v1/addresses", data);
